package com.cyzy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@NoArgsConstructor
@AllArgsConstructor
@Data
@ToString
@TableName("orders")
public class Orders {
  @TableId(type = IdType.AUTO)
  private long orderId;
  private String orderNum;
  private long userId;
  private String orderType;
  private long relatedId;
  private double orderAmount;
  private long orderStatus;
  private long orderAddressId;
  private java.sql.Timestamp payTime;
  private java.sql.Timestamp createdAt;
  private java.sql.Timestamp updatedAt;
  private int leastTime;
  private int orderQuantity;
}
